
        const puppeteer = require('puppeteer');
        (async () => {
            const browser = await puppeteer.launch();
            const page = await browser.newPage();
            await page.goto('http://localhost:8333/tb/report/page?userId=18&createBy=test&reportCycle=2024/09/29-2024/10/12&sourceArrId=292,291,290,289,288,287,286,285,284,283,282,281,280,279,278,277,276,275,274,273,272,271,270,269,268,267,266,265,264,263,262,261,260,259,258,257,256,255,254,253,252,251,250,249,248,247,246,245,244,243,242,241,240,239,238,237,236,235,234,233,232,231,230,229,228,227,226,225,224,223,222,221,220,219&language=1', { waitUntil: 'networkidle2' });
            await page.pdf({ path: 'output.pdf', format: 'A4' });
            await browser.close();
        })();
        